package service;

import chapter2.dto.UserDto;
import chapter2.entity.User;
import chapter2.vo.Result;

public interface IUserService extends IBaseService<User, UserDto> {

    boolean  roleInUse (int deptId);
    boolean deptInUse (int roleId);
    Result toggle(int id);

}